package com.kitchen.beans.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;

/**
 * @author 78468
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Activity {
    /**
    * 活动id
    */
    @Id
    @Column(name = "a_id")
    private Integer aId;

    /**
    * 活动图片
    */
    @Column(name = "a_img")
    private String aImg;

    /**
    * 活动状态：1征集中，2申领中，3上传中，4评选中，5公示中
    */
    @Column(name = "a_state")
    private Integer aState;
    /**
     * 活动简介描述
     */
    @Column(name = "a_introduction")
    private String aIntroduction;
}